import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { SitesRoutingModule } from './sites-routing.module';
import { SiteAddComponent } from './site-add/site-add.component';
import { SiteUpdateComponent } from './site-update/site-update.component';
import { SitesComponent } from './sites.component';
import {SitesService} from "./sites.service";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";
import {UsersService} from "../../user/users/users.service";
import { StudyCodeComponent } from './study-code/study-code.component';
import { AssignSiteComponent } from './assign-site/assign-site.component';
import {MonitorService} from "../site-monitor/monitor.service";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule,
    SitesRoutingModule
  ],
  declarations: [
    SiteAddComponent,
    SiteUpdateComponent,
    SitesComponent,
    StudyCodeComponent,
    AssignSiteComponent
  ],
  providers: [
    SitesService,
    UsersService,
    MonitorService
  ]
})
export class SitesModule { }
